//
//  GRJToastView.h
//  GRJTolCayFrwk
//
//  Created by apple on 2017/3/1.
//  Copyright © 2017年 Global Barter. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GRJToastView : UIView


@property (nonatomic,retain) NSString *text;

@property (nonatomic,retain) UILabel *textLabel;

+ (instancetype)showText:(NSString *)text interval:(NSTimeInterval)interval;

+ (instancetype)showLoading;

+ (instancetype)showLoadingWithText:(NSString *)text;

+ (void)dismissAll;

- (void)setText:(NSString *)text;

- (void)showLoading:(BOOL)loading text:(NSString *)text interval:(NSTimeInterval)interval;

- (void)dismiss;























@end
